package com.doupi.partner.dal;

import com.doupi.partner.dal.model.AdministratorHasRole;
import java.util.List;
import org.apache.ibatis.session.RowBounds;

public interface AdministratorHasRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AdministratorHasRole record);

    AdministratorHasRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdministratorHasRole record);

    int countAdministratorHasRole(AdministratorHasRole administratorHasRole);

    List<AdministratorHasRole> queryAdministratorHasRoles(AdministratorHasRole administratorHasRole, RowBounds rowBounds);

    List<AdministratorHasRole> selectAdministratorHasRoleForUpdate(AdministratorHasRole administratorHasRole);

    AdministratorHasRole selectAdministratorHasRoleForUpdateByPrimaryKey(Long id);
}